import Home from '@/views/pages/home'
import demoRouter from './group/demo'
import systemRouter from './group/system'

const base = [
  {
    path: '/',
    name: 'home',
    component: Home,
    children: [
      {
        path: '/index',
        name: 'index',
        component: () => import('@/views/pages/index')
      },
      {
        path: '/account',
        name: 'account',
        component: () => import('@/views/pages/weixin/account')
      },
      {
        path: '/refueling',
        name: 'refueling',
        component: () => import('@/views/pages/refueling/index.vue')
      },
      {
        path: '/refueling-two',
        name: 'refueling-two',
        component: () => import('@/views/pages/refueling-two/index.vue')
      },
      {
        path: '/refueling-three',
        name: 'refueling-three',
        component: () => import('@/views/pages/refueling-three/index.vue')
      },
      {
        path: '/refueling-three-t',
        name: 'refueling-three-t',
        component: () => import('@/views/pages/refueling-three-t/index.vue')
      },
      {
        path: '/refueling-four',
        name: 'refueling-four',
        component: () => import('@/views/pages/refueling-four/index.vue')
      },
      {
        path: '/refueling-five',
        name: 'refueling-five',
        component: () => import('@/views/pages/refueling-five/index.vue')
      },
      {
        path: '/refueling-six',
        name: 'refueling-six',
        component: () => import('@/views/pages/refueling-six/index.vue')
      },
      {
        path: '/refueling-seven',
        name: 'refueling-seven',
        component: () => import('@/views/pages/refueling-seven/index.vue')
      },
      {
        path: '/refueling-eight',
        name: 'refueling-eight',
        component: () => import('@/views/pages/refueling-eight/index.vue')
      },
      {
        path: '/basic-information',
        name: 'basic-information',
        component: () => import('@/views/pages/basic-information/index.vue')
      },
      {
        path: '/index2',
        name: 'index2',
        component: () => import('@/views/pages/basic-information/index2.vue')
      },
      {
        path: '/publicity-information',
        name: 'publicity-information',
        component: () => import('@/views/pages/publicity-information/index.vue')
      },
      {
        path: '/warning-information',
        name: 'warning-information',
        component: () => import('@/views/pages/warning-information/index.vue')
      },
      {
        path: '/Verification',
        name: 'Verification',
        component: () => import('@/views/pages/Verification/index.vue')
      },
      // {
      //   path: '/statistical analysis',
      //   name: 'statistical analysis',
      //   component: () => import('@/views/pages/statistical analysis/index.vue')
      // },
      {
        path: '/data-import',
        name: 'data-import',
        component: () => import('@/views/pages/data-import/index.vue')
      },
      {
        path: '/excel',
        name: 'excel',
        component: () => import('@/views/pages/excel/index.vue')
      },
      {
        path: '/clindex',
        name: 'clindex',
        component: () => import('@/views/pages/excel/clindex.vue')
      },
      {
        path: '/jlindex',
        name: 'jlindex',
        component: () => import('@/views/pages/excel/jlindex.vue')
      },
      {
        path: '/qkindex',
        name: 'qkindex',
        component: () => import('@/views/pages/excel/qkindex.vue')
      },
      {
        path: '/rcindex',
        name: 'rcindex',
        component: () => import('@/views/pages/excel/rcindex.vue')
      },
      {
        path: '/collection-form',
        name: 'collection-form',
        component: () => import('@/views/pages/collection-form/index.vue')
      },
      {
        path: '/card-record',
        name: 'card-record',
        component: () => import('@/views/pages/card-record/index.vue')
      },
      {
        path: '/card-status',
        name: 'card-status',
        component: () => import('@/views/pages/card-status/index.vue')
      },
      {
        path: '/daily-record',
        name: 'daily-record',
        component: () => import('@/views/pages/daily-record/index.vue')
      },
      {
        path: '/longXm',
        name: 'longXm',
        component: () => import('@/views/pages/longXm/index.vue')
      },
      {
        path: '/jjrindex',
        name: 'jjrindex',
        component: () => import('@/views/pages/excel/jjrindex.vue')
      },
      {
        path: '/holidayd',
        name: 'holidayd',
        component: () => import('@/views/pages/holidayd/index.vue')
      },
      {
        path: '/jjr',
        name: 'jjr',
        component: () => import('@/views/pages/export/jjr.vue')
      },
      {
        path: '/cl',
        name: 'cl',
        component: () => import('@/views/pages/export/cl.vue')
      },
      {
        path: '/yrdc',
        name: 'yrdc',
        component: () => import('@/views/pages/export/yrdc.vue')
      },
      {
        path: '/yd',
        name: 'yd',
        component: () => import('@/views/pages/export/yd.vue')
      },
      {
        path: '/xe',
        name: 'xe',
        component: () => import('@/views/pages/export/xe.vue')
      },
      {
        path: '/qcy',
        name: 'qcy',
        component: () => import('@/views/pages/export/qcy.vue')
      },
      {
        path: '/lbmb',
        name: 'lbmb',
        component: () => import('@/views/pages/export/lbmb.vue')
      },
      {
        path: '/xmk',
        name: 'xmk',
        component: () => import('@/views/pages/export/xmk.vue')
      },
      {
        path: '/xmkxq',
        name: 'xmkxq',
        component: () => import('@/views/pages/export/xmkxq.vue')
      },
      {
        path: '/fuel',
        name: 'fuel',
        component: () => import('@/views/pages/fuel/index.vue')
      },
      {
        path: '/gbh',
        name: 'gbh',
        component: () => import('@/views/pages/export/gbh.vue')
      },
      {
        path: '/data-statistics',
        name: 'data-statistics',
        component: () => import('@/views/pages/data-statistics/index.vue')
      },
      {
        path: '/question-clues',
        name: 'question-clues',
        component: () => import('@/views/pages/question-clues/index.vue')
      }
    ]
  },
  {
    path: '/login',
    name: 'login',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () => import(/* webpackChunkName: "about" */ '@/views/pages/login')
  }
]
base[0].children.push.apply(base[0].children, demoRouter)
base[0].children.push.apply(base[0].children, systemRouter)
export default base
